<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<!-- BEGIN HEAD -->
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1" name="viewport" />
    <meta name="description" content="Responsive Admin Template" />
    <meta name="author" content="SmartUniversity" />
    <title>Spice Hotel | Bootstrap 4 Admin Dashboard Template + UI Kit</title>
    <!-- google font -->
    <link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700" rel="stylesheet" type="text/css" />
	<!-- icons -->
    <link th:href="@{/assets/plugins/simple-line-icons/simple-line-icons.min.css}" rel="stylesheet" type="text/css" />
    <link th:href="@{/assets/plugins/font-awesome/css/font-awesome.min.css}" rel="stylesheet" type="text/css"/>
	<!--bootstrap -->
	<link th:href="@{/assets/plugins/bootstrap/css/bootstrap.min.css}" rel="stylesheet" type="text/css" />
    <!-- Material Design Lite CSS -->
	<link rel="stylesheet" th:href="@{/assets/plugins/material/material.min.css}">
	<link rel="stylesheet" th:href="@{/assets/css/material_style.css}">
	<!-- animation -->
	<link th:href="@{/assets/css/pages/animate_page.css}" rel="stylesheet">
	<!-- Template Styles -->
    <link th:href="@{/assets/css/style.css}" rel="stylesheet" type="text/css" />
    <link th:href="@{/assets/css/plugins.min.css}" rel="stylesheet" type="text/css" />
    <link th:href="@{/assets/css/responsive.css}" rel="stylesheet" type="text/css" />
	<link th:href="@{/assets/css/theme-color.css}" rel="stylesheet" type="text/css" />
	<!-- dropzone -->
    <link th:href="@{/assets/plugins/dropzone/dropzone.css}" rel="stylesheet" media="screen">
    <!-- Date Time item CSS -->
    <link rel="stylesheet" th:href="@{/assets/plugins/material-datetimepicker/bootstrap-material-datetimepicker.css}" />
	<!-- favicon -->
    <link rel="shortcut icon" th:href="@{/assets/img/favicon.ico}" />
</head>
<!-- END HEAD -->
<body class="page-header-fixed sidemenu-closed-hidelogo page-content-white page-md header-white dark-sidebar-color logo-dark">
    <div class="page-wrapper">
        <!-- start header -->
		<div th:replace="~{commons::headnavbar}"></div>
        <!-- end header -->
        <!-- start page container -->
        <div class="page-container">
 			<!-- start sidebar menu -->
			<div th:replace="~{commons::sidebar(active='new_booking',open='booking')}"></div>
			 <!-- end sidebar menu -->
			<!-- start page content -->
            <div class="page-content-wrapper">
                <div class="page-content">
                    <div class="page-bar">
                        <div class="page-title-breadcrumb">
                            <div class=" pull-left">
                                <div class="page-title">Add Room Booking</div>
                            </div>
                            <ol class="breadcrumb page-breadcrumb pull-right">
                                <li><i class="fa fa-home"></i>&nbsp;<a class="parent-item" href="index.html">Home</a>&nbsp;<i class="fa fa-angle-right"></i>
                                </li>
                                <li><a class="parent-item" href="">Booking</a>&nbsp;<i class="fa fa-angle-right"></i>
                                </li>
                                <li class="active">Add Booking</li>
                            </ol>
                        </div>
                    </div>
                     <div class="row">
						<div class="col-sm-12">
							<div class="card-box">
								<div class="card-head">
									<header>Add Room Booking</header>
								</div>

								<form class="card-body row" th:action="@{/order/addOrder}" method="post">
						            <div class="col-lg-6 p-t-20">
						              <div class = "mdl-textfield mdl-js-textfield mdl-textfield--floating-label txt-full-width">
					                     <input class = "mdl-textfield__input" type = "text" id = "name" name="name" value="">
					                     <label class = "mdl-textfield__label">客户姓名</label>
					                  </div>
						            </div>

						             <div class="col-lg-6 p-t-20">
						              <div class = "mdl-textfield mdl-js-textfield mdl-textfield--floating-label txt-full-width">
					                     <input class = "mdl-textfield__input" type = "email" id = "txtemail" name="mail" value="">
					                     <label class = "mdl-textfield__label" >邮箱</label>
					                      <span class = "mdl-textfield__error">Enter Valid Email Address!</span>
					                  </div>
						            </div>

									<div class="col-lg-6 p-t-20">
						               <div class = "mdl-textfield mdl-js-textfield mdl-textfield--floating-label txt-full-width">
					                     <input class = "mdl-textfield__input" type = "text"
					                        pattern = "-?[0-9]*(\.[0-9]+)?" id = "text5" name="mobile" value="">
					                     <label class = "mdl-textfield__label" for = "text5" >手机号码</label>
					                     <span class = "mdl-textfield__error">Number required!</span>
					                  </div>
						            </div>

						            <div class="col-lg-6 p-t-20">
						              <div class = "mdl-textfield mdl-js-textfield mdl-textfield--floating-label txt-full-width">
					                     <input class = "mdl-textfield__input" type = "text" id = "date" name="arrivedate" value="">
					                     <label class = "mdl-textfield__label" >到达时间</label>
					                  </div>
						            </div>

						            <div class="col-lg-6 p-t-20">
						              <div class = "mdl-textfield mdl-js-textfield mdl-textfield--floating-label txt-full-width">
					                     <input class = "mdl-textfield__input" type = "text" id = "date1" name="leavedate" value="">
					                     <label class = "mdl-textfield__label" >离店时间</label>
					                  </div>
						            </div>
						             <div class="col-lg-6 p-t-20">
						              <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label getmdl-select getmdl-select__fix-height txt-full-width">
								            <input class="mdl-textfield__input" type="text" id="list2"   tabIndex="-1" name="orid" value="">
								            <label for="list2" class="pull-right margin-0">
								                <i class="mdl-icon-toggle__label material-icons">keyboard_arrow_down</i>
								            </label>
								            <label for="list2" class="mdl-textfield__label">客房编号</label>
								            <ul data-mdl-for="list2" class="mdl-menu mdl-menu--bottom-left mdl-js-menu" >
								                <li class="mdl-menu__item" data-val="1" th:each=" room:${rooms}"  th:text="${room.getRid()}"></li>
								            </ul>
								        </div>
						           	</div>



							         <div class="col-lg-12 p-t-20 text-center">
						              	<button type="submit" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect m-b-10 m-r-20 btn-pink">Submit</button>
										<button type="reset" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect m-b-10 btn-default">Cancel</button>
						            </div>

								</form>
							</div>
						</div>
					</div>
                </div>
            </div>
            <!-- end page content -->
			<div th:replace="~{commons::settingtools}"></div>
        </div>
        <!-- end page container -->
        <!-- start footer -->
		<div th:replace="~{commons::footer}"></div>
        <!-- end footer -->
    </div>
    <!-- start js include path -->
    <script th:src="@{/assets/plugins/jquery/jquery.min.js}" ></script>
    <script th:src="@{/assets/plugins/popper/popper.min.js}" ></script>
    <script th:src="@{/assets/plugins/jquery-blockui/jquery.blockui.min.js}" ></script>
	<script th:src="@{/assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js}"></script>
    <!-- bootstrap -->
    <script th:src="@{/assets/plugins/bootstrap/js/bootstrap.min.js}" ></script>
    <!-- Common js-->
	<script th:src="@{/assets/js/app.js}" ></script>
    <script th:src="@{/assets/js/layout.js}" ></script>
	<script th:src="@{/assets/js/theme-color.js}" ></script>
	<!-- Material -->
	<script th:src="@{/assets/plugins/material/material.min.js}"></script>
    <script th:src="@{/assets/js/pages/material_select/getmdl-select.js}" ></script>
    <script  th:src="@{/assets/plugins/material-datetimepicker/moment-with-locales.min.js}"></script>
	<script  th:src="@{/assets/plugins/material-datetimepicker/bootstrap-material-datetimepicker.js}"></script>
	<script th:src="@{/assets/plugins/material-datetimepicker/datetimepicker.js}"></script>
    <!-- dropzone -->
    <script th:src="@{/assets/plugins/dropzone/dropzone.js}" ></script>
    <script th:src="@{/assets/plugins/dropzone/dropzone-call.js}" ></script>
	<!-- animation -->
	<script th:src="@{/assets/js/pages/ui/animations.js}" ></script>
    <!-- end js include path -->
</body>
</html>